package org.springblade.modules.repair.vo.plan;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author zcc
 * @version 1.0
 * @date 2022/1/4 16:06
 */
@ApiModel("维保任务通用查询model")
@Data
public class PlanContentCommonVo {

	@ApiModelProperty("维保id")
	private Long id;

	@ApiModelProperty("维保状态")
	private Integer status;

	@ApiModelProperty("电梯名称")
	private String elevatorName;

	@ApiModelProperty("电梯ID")
	private Long elevatorId;

	@ApiModelProperty("项目名称")
	private String buildingName;

	@ApiModelProperty("项目id")
	private Long buildingId;

	private Date endTime;

	private String planDate;

	private Long userId;

	public void setPlanDate(String planDate) {
		this.planDate = planDate + " 00:00:00";
	}
}
